package com.qfedu.zf.index.controller;


import com.qfedu.zf.common.vo.R;
import com.qfedu.zf.index.service.StoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.security.sasl.SaslServer;
import java.util.Map;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author wgz
 * @since 2024-06-20
 */
@RestController
@RequestMapping("/index/store")
public class StoreController {

    @Autowired
    StoreService storeService;

    @RequestMapping("/list")
    public R list(@RequestParam Map<String,Object> map){
        return storeService.listAll(map);
    }

}

